/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */



function generarQr(codigo){
    var posicion_x; 
    var posicion_y; 
    posicion_x=(screen.width/2)-(ancho/2); 
    posicion_y=(screen.height/2)-(alto/2); 
    window.open("generarQR.html?codigo='"+codigo+"'","width="+ancho+",height="+alto+",menubar=0,toolbar=0,directories=0,scrollbars=no,resizable=no,left="+posicion_x+",top="+posicion_y+"");      
}